<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>代理卡配置统计</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="飞啊飘啊">
	<meta name="hashcode" content="-520016734">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	<script type="text/javascript">
		window.basePath="/";
		window.contextPath="/admin/";
		window.canQuery=true;
		window.className = "com.distribute.framework.model.AgentConf";
		window.modelPath = "/admin/agents/agentconf";
		window.hashcode = "-520016734";
	</script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	$.getAjax("agentconf.stats.do",options,function(protocol){
  		window.protocol = protocol;
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		THIS.setData(protocol.data);
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>
<body style="display:none;">



<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>

<div lz:if="{{highlight}}" class="highlight" id="highlight" style="line-height:32px;text-indent:20px;">
	<span style="float:right;margin-right:15px;cursor:pointer;" onclick="$('#highlight').remove();">X</span>
	<span>{{highlight}}</span>
</div>


<table class="" border="0" cellspacing="0" cellpadding="0"><tr><td>
	
	<div lz:if="{{notQuery!='true'}}" class="title">
		<a href="javascript:void(0);" onclick="try{parent.current.close();}catch(e){};try{$.closeModalDialog();}catch(e){};" class="linker">
			<img class="iconA" align="absmiddle" src="/admin/images/icons/Badge-multiply.png"/>
			<span class="iconB iconfont icon-icon11"></span>
			关闭页面
		</a>
		<a href="javascript:void(0);" class='iconA linker imize {{imize=="minimize"?"minimize":"maximize"}}'>
			<img align="absmiddle" class="up" src="/admin/images/icons/Arrow up.png"/>
			<img align="absmiddle" class="down" src="/admin/images/icons/Arrow down.png"/>
			展开收起
		</a>
		<a href="javascript:void(0);" class='iconB linker imize {{imize=="minimize"?"minimize":"maximize"}}'>
			<span class="iconfont up icon-shang"></span>
			<span class="iconfont down icon-xia"></span>
			展开收起
		</a>
		<a href="javascript:void(0);" class="linker setting">
			<img align="absmiddle" class="iconA" src="/admin/images/icons/20088256421529677801.png"/>
			<span class="iconB iconfont icon-cogs"></span>
			页面设置
		</a>
		<a href="?" class="linker">
			<img align="absmiddle" class="iconA" src="/admin/images/icons/2008825642250778028.png"/>
			<span class="iconB iconfont icon-shuaxin2"></span>
			重新加载
		</a>
		<a lz:if="{{canExport}}" href="javascript:void(0);" onclick="exportXls();" class="linker">
			<img align="absmiddle" class="iconA" src="/admin/images/icons/20088256427828778018.png"/>
			<span class="iconB iconfont icon-xiazai"></span>
			数据导出
		</a>
		<a lz:if="{{haveQuerys}}" class="toggler" href="javascript:void(0);"><span class="{{window.shortcuts!='hide'?'on':''}}"></span></a>
		<div class="caption">
			<span class="iconB iconfont icon-yinhangka"></span>
			{{title||"代理卡配置"}}
		</div>
	</div>
	<div lz:if="{{canQuery && notQuery!='true'}}" class="plate" style='{{imize=="minimize"?"display:none;":""}}'>
		
		<form ref="AgentConf" class="query" id="queryForm" action="agentconf.stats.html?" method="get">
			
			<lz:include src="agentconf.query.html?v=152410459"></lz:include>
	
			<div class="line"></div>
			<div class="option">
				<table border="0" cellspacing="0" cellpadding="0">
				  <tr>
				    <td>
						<input type="hidden" name="all" value="{{all}}" />
						<input type="hidden" name="fields" value="{{fields}}" />
						<lz:block lz:if="{{onlyQuery=='true'}}">
						 	<input type="hidden" name="onlyQuery" value="{{onlyQuery}}" />
							<button class="button" onclick="top['complete_'+window.name]($('#queryForm').params());" type="button">
								&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
								<span class="iconB iconfont icon-weibiaoti8"></span>
								确定&nbsp;&nbsp;</button>
							<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="$.closeModalDialog();" type="button">
								&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
								<span class="iconB iconfont icon-icon11"></span>
								取消&nbsp;&nbsp;</button>
						</lz:block>
						<lz:block lz:if="{{onlyQuery!='true'}}">
							<button class="button" type="submit">
								&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Zoom.png"/>
								<span class="iconB iconfont icon-chazhao"></span>
								查询&nbsp;&nbsp;</button>		
							<button class="button" onclick="clearForm()" type="button">
								&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/2008825642250778045.png"/>
								<span class="iconB iconfont icon-chexiao"></span>
								重置&nbsp;&nbsp;</button>
							<button class="button" onclick="saveForm()" type="button">
								&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/2008825642250778030.png"/>
								<span class="iconB iconfont icon-2"></span>
								保存&nbsp;&nbsp;</button>
						</lz:block>
						<lz:block lz:if="{{alias=='join'||alias=='select'}}">
							<button class="button onok" type="button">
								&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
								确定&nbsp;&nbsp;</button>
							<button class="button oncancel" type="button">
								&nbsp;<img align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
								放弃&nbsp;&nbsp;</button>
						</lz:block>
					</td>
				  </tr>
				</table>
				<div class="clear"></div>
			</div>
		</form>
	
	</div>

</td></tr><tr><td>

	
	<!------------------------VIEW_HTML_MIDDLE------------------------>
	<!------------------------VIEW_HTML_MIDDLE------------------------>

	
	<div class="content" style="margin:8px;">
	
	
		
		<div lz:if="{{ groupCount==0 && sumCount==0 }}" style="padding:10px;line-height:32px;font-size:14px;">
			<img width="25" height="25" align="absmiddle" src="/admin/images/icons/20088256421529677807.png" />
			&nbsp;&nbsp;<font size="3">[统计说明]：</font><br/>
			1：先根据查询条件筛选出您想要的数据，然后选择下面不同的分组类型和统计类型，查询出N种不同类型的统计数据<br/>
			2：统计分组指的是根据不同的类型把查出的数据分成不的组分别进行统计,统计类型同时最多只能选择三项（当选择三项分组时，系统将使用这三项进行交叉分组统计）<br/>
			3：统计类型指的是要统计哪些内容,当统计分组和统计类型都只选择一项时，数据可以通过表格、饼图、柱状图、曲线图...等多种方式展示数据<br/>
			4：关于时间分组：<br/>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			每年,每月,每周,每日,每时表示每个时间单元不重复，比如两年的每日会分成365*2=730个统计单位<br/>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			月份,周份,星期,天份,时份表未每个时间单元重复分组，比如你查询再久的时间范围，按月份永远只分成12组，按星期的话永远只分成7组.....
		</div>
		
		
		<div lz:if="{{ groupCount>0 || sumCount>0 }}" class='viewtypes'>
			
		</div>
		<div lz:if="{{ groupCount>0 || sumCount>0 }}" id="stats" class="stats"></div>
		<script>
		var stats = {{stats}};
		 </script>
	
	
	</div>

 </td></tr></table>
 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>
<script>

	window.navigate = top.$.open;
	window.href = function(url){
	   window.navigate(url,{edittype:"detail"},window);
	}

	$(function(){
		if(parent.setit){
			parent.setit("/admin/agents/agentconf.stats.html","代理卡配置数据统计","/admin//images/icons/credit american express.png");
		}
	});

</script>
</html>